<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/static/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/webuploader-0.1.5/webuploader.css">
    <script type="text/javascript" src="/static/webuploader-0.1.5/webuploader.js"></script>
    <script type="text/javascript" src="/static/webuploader-0.1.5/bdup.js"></script>
</head>
<body>
<form>
    <!--dom结构部分-->
    <div id="uploader-demo">
        <!--用来存放item-->
        <div id="fileList" class="uploader-list"></div>
        <div id="filePicker">选择图片</div>
    </div>
    <input type="submit" value="提交"/>
    <input type="button" onclick="getFiles()" value="提交"/>
</form>
<script>
    var option = {
        imgList: "#fileList", pick: {id: "#filePicker", multiple: true}, inputName: "images"
    };
    bdup(option);
    /* function getFiles() {
     var paths = option.getServerPathList();
     console.log(paths);
     console.log(option.getFiles());
     }*/
</script>


</body>
</html>